package com.luckyframe.project.jmeter.jmeterTestCase.domain;

import java.util.Objects;

public class DependencyFile {

    private  String filename;
    private  String fileLocation;
    private  String extention;
    private  String destLocation;
    private  String destDir;


    public String getDestDir() {
        return destDir;
    }

    public void setDestDir(String destDir) {
        this.destDir = destDir;
    }

    public String getDestLocation() {
        return destLocation;
    }

    public void setDestLocation(String destLocation) {
        this.destLocation = destLocation;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFileLocation() {
        return fileLocation;
    }

    public void setFileLocation(String fileLocation) {
        this.fileLocation = fileLocation;
    }

    public String getExtention() {
        return extention;
    }

    public void setExtention(String extention) {
        this.extention = extention;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DependencyFile that = (DependencyFile) o;
        return Objects.equals(filename, that.filename) &&
                Objects.equals(fileLocation, that.fileLocation) &&
                Objects.equals(extention, that.extention);
    }

    @Override
    public int hashCode() {
        return Objects.hash(filename, fileLocation, extention);
    }
}
